import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: {
    menuList: []
  },
  mutations: {
    setMenuList (state, asyncroutList) {
      state.menuList = [...constantRoutes, ...asyncroutList, { path: '*', redirect: '/404', hidden: true }]
    }
  }
}
